package com.syw.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * SywHousestate entity. @author MyEclipse Persistence Tools
 */

public class SywHousestate implements java.io.Serializable {

	// Fields

	private int id;
	private String name;
	private Set sywHouses = new HashSet(0);

	// Constructors

	/** default constructor */
	public SywHousestate() {
	}

	/** minimal constructor */
	public SywHousestate(String name) {
		this.name = name;
	}

	/** full constructor */
	public SywHousestate(String name, Set sywHouses) {
		this.name = name;
		this.sywHouses = sywHouses;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getSywHouses() {
		return this.sywHouses;
	}

	public void setSywHouses(Set sywHouses) {
		this.sywHouses = sywHouses;
	}

}